answer freeSpace && "bytes (" & freeSpace div 1024 && "K) free on ΓÇ£" & newVolume & "ΓÇ¥"
end mouseUp
-- part contents for background part 20
----- text -----
This XFCN returns the amount of free space (in bytes) on a disk. It is functionally similar to HyperCard's "DiskSpace", except that it works with any mounted volume
To use this demo click on the "Try It!" button.
You will be presented with a dialog to select one of your mounted drives.